package com.woniuxy.service;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.RbacManagerDTO;
import com.woniuxy.entity.ResponseEntity;

/**
 * @Author: 马宇航
 * @Description: 用户管理业务层
 * @DateTime: 22/09/01/0001 14:36
 * @Component: 成都蜗牛学苑
 **/
public interface RbacManagerService {
    /**
     * 查询所有用户信息
     * TODO: 暂时还未分页，以后来开发
     * ChangeLog : 1. 创建 (22/09/01/0001 14:40 [马宇航]);
     *
     * @return com.woniuxy.entity.ResponseEntity
    */
    ResponseEntity findAll( int currentPage,int pageSize);

    ResponseEntity deleteOne(int id);

    ResponseEntity addOne(RbacManager rbacManager);

    ResponseEntity editOne(RbacManager rbacManager);

    RbacManager findOneByName(String username);

    ResponseEntity editType(int id);

    ResponseEntity initPwd(int id);

    ResponseEntity updateRole(RbacManagerDTO rbacManagerDTO);
}
